package com.loong.web.gp4j.bean.schema.user;

import java.util.List;

/**
 * 用户对象
 * 
 * @author 张成轩
 */
public class UserSchema {

	private Integer id;
	private String user;
	private String password;
	private String email;
	private Integer status;
	private UserDetailSchema detail;
	private List<UserAuthSchema> auths;

	/**
	 * @return id
	 */
	public Integer getId() {

		return id;
	}

	/**
	 * @param id id
	 */
	public void setId(Integer id) {

		this.id = id;
	}

	/**
	 * @return 用户
	 */
	public String getUser() {

		return user;
	}

	/**
	 * @param user 用户
	 */
	public void setUser(String user) {

		this.user = user;
	}

	/**
	 * @return 密码
	 */
	public String getPassword() {

		return password;
	}

	/**
	 * @param password 密码
	 */
	public void setPassword(String password) {

		this.password = password;
	}

	/**
	 * @return 邮箱
	 */
	public String getEmail() {

		return email;
	}

	/**
	 * @param email 邮箱
	 */
	public void setEmail(String email) {

		this.email = email;
	}

	/**
	 * @return 状态
	 */
	public Integer getStatus() {

		return status;
	}

	/**
	 * @param status 状态
	 */
	public void setStatus(Integer status) {

		this.status = status;
	}

	/**
	 * @return 用户详情
	 */
	public UserDetailSchema getDetail() {

		return detail;
	}

	/**
	 * @param detail 用户详情
	 */
	public void setUserDetail(UserDetailSchema detail) {

		this.detail = detail;
	}

	/**
	 * @return 用户权限集
	 */
	public List<UserAuthSchema> getAuths() {

		return auths;
	}

	/**
	 * @param auths 用户权限集
	 */
	public void setUserAuths(List<UserAuthSchema> auths) {

		this.auths = auths;
	}
}